0 Members and 3 Guests are viewing this topic.
In other news, Frey continues kicking unprecedented levels of ass.
Can we have a feature like "Zeros()," but for any data. For instance, something like this:Command(1,12) would be the same as [010101010101010101010101]Command([56],4) would be the same as [56565656]Command(127,6) would be the same as Data(127,127,127,127,127,127)Potentially, this command could even be used for repeating sets of data. For instance:Command([010203],12) would be the same as [010203010203010203010203]Command("Text"[00],15) would be the same as "Text"[00]"Text"[00]"Text"[00]So, what do you think? Could this be a command? I think it's a good idea, to avoid situations like this.
Quote from: ztrumpet on April 09, 2011, 05:15:43 pmCan we have a feature like "Zeros()," but for any data. For instance, something like this:Command(1,12) would be the same as [010101010101010101010101]Command([56],4) would be the same as [56565656]Command(127,6) would be the same as Data(127,127,127,127,127,127)Potentially, this command could even be used for repeating sets of data. For instance:Command([010203],12) would be the same as [010203010203010203010203]Command("Text"[00],15) would be the same as "Text"[00]"Text"[00]"Text"[00]So, what do you think? Could this be a command? I think it's a good idea, to avoid situations like this. I really like that idea. What about changing Zeros( (det() to something more universal?
I would suggest changing the token replacement to Block(). Feeding 1 argument would create a block of the specified size filled with zeroes. Feeding 2 arguments would create a block of the specified size filled with a specified value.
Quote from: Runer112 on April 09, 2011, 08:59:14 pmI would suggest changing the token replacement to Block(). Feeding 1 argument would create a block of the specified size filled with zeroes. Feeding 2 arguments would create a block of the specified size filled with a specified value.I like that idea. It would make it compatible with previous versions.
{A*3->π->π}->X {π+1}->Y {π+2}->Z
{A*3->π}->X {π+1->π}->Y {π+1}->Z
A way to Exit the program from within a subroutine, because both Return and goto end-of-program just end the subroutine.
Lbl SR.CODEReturnLbl CP.CODEGoto EReturn.CodeLbl E
OS return locationStuff...
Subroutine return locationPossibly more subroutine return locations...OS return locationStuff...
.MYPROGAsm(ED73E383) .Back up the OS return location.YOUR PROGRAM GOES HEREAsm(ED7BE383ED56C9) .Exit program from anywhere, put this wherever you want it