English
Opportunities and suggestions

wish: Push and Pop

 
over ands over again falls it me one, if I none computer to hand have, separate only the installed XProfan. Push and Pop are two super command, The really almost Kontrollstrukturen are. XProfan Push and Pop could even too with all Variablentypen functions, I mean something like:
CompileMarkSeparation
declare a$,b$,c$
...
push a$//a$ sichern ohne neue Variable
push b$//b$ besser auch
a$="Salabim"
b$=str$(getTickCount)+a$
messageBox(...
pop b$//b$ wieder auf ursprungswert zurücksetzen, ohne neue Variable
pop a$//a$ natürlich auc
n>
Beziehungsweise:
CompileMarkSeparation
a$="Hallo Welt"
push a$
a$="Ja, Hello!"
...
pop a$
Beziehungsweise:
CompileMarkSeparation
push 10
push 20
push 30
pop c&
pop b&
pop a&
or Perhaps even:
CompileMarkSeparation
push 10,20,30
pop c&,b&,a&

I find it generally awfully useful and it would imho too a Bereicherung itself sometimes plainer squeeze out to with less Last what about me faith, with per Thread 1-2 dynamischem Arrays/ lists vlt. simply To to achieve.

jolly umwegig could accordingly functions too several Rückgabewerte supplying.
CompileMarkSeparation
declare a$

proc Test

    push "Welt"
    push "Hallo"

endproc

Test
pop a$
print a$,
pop a$
print a$
or. vlt. even
CompileMarkSeparation
proc Test

    push "Welt"
    push "Hallo"

endproc

Test
print pop(),pop()
and Push( hold Replace:
CompileMarkSeparation
push 10
print push(20)
print pop()
//10
20
 
04/09/10  
 




Frank
Abbing
I mean, that had so did i Schonmal suggested to some Time. would be already ne lovely thing.
 
04/09/10  
 



Ah, i haven't been thereafter sought, wished it only rid.
 
04/09/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.542 Views

Untitledvor 0 min.
Vgdd06/05/17
Peter Max Müller09/05/14
holmol9310/17/13

Themeninformationen

this Topic has 2 subscriber:

iF (2x)
Frank Abbing (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie