1
ASM / Need help with ExecAns//NikProgrammer
« on: June 16, 2014, 06:25:42 pm »
So...
ExecAns is a Hex Program, it takes a string in Ans as Input, deletes prgmU, creates it again, copies Ans to prgmU and runs it... I use it to crate/edit a custom named list. Ans equals "matr>list(|F|,Lxxxxx)". I use 'matr>list()' because I can't use the -> sign in strings without some help of the user... But, well, this is not important in the problem (I think). The problem is when I call ExecAns as subprogram from prgmNFTEXT it creates a fine prgmU with a fine 'matr>list(|F|,Lxxxxx)' but intstead of running it and returning to the prgmNFTEXT it returns to the OS.
Codes:
PrgmNFTEXT
:;Much code, not important. The name of the list is alteady in Str0
:"matr>list(|F|,L"+Str0 ;Input for ExecAns
:Asm(prgmExecAns
:Pause ;I will work on here when the problem is solved. The pause is only to check if the program reached it but is doesn't.
Prgm ExecAns
AsmPrgm
EFD74A
FE04C0
215500
22EC86227984
21F086
EB4E234623
ED43EE86
EDB0
3E05327884
EFF142
3803EFC64F
3E0521EC86
EF3C4C
C9
ExecAns is a Hex Program, it takes a string in Ans as Input, deletes prgmU, creates it again, copies Ans to prgmU and runs it... I use it to crate/edit a custom named list. Ans equals "matr>list(|F|,Lxxxxx)". I use 'matr>list()' because I can't use the -> sign in strings without some help of the user... But, well, this is not important in the problem (I think). The problem is when I call ExecAns as subprogram from prgmNFTEXT it creates a fine prgmU with a fine 'matr>list(|F|,Lxxxxx)' but intstead of running it and returning to the prgmNFTEXT it returns to the OS.
Codes:
PrgmNFTEXT
:;Much code, not important. The name of the list is alteady in Str0
:"matr>list(|F|,L"+Str0 ;Input for ExecAns
:Asm(prgmExecAns
:Pause ;I will work on here when the problem is solved. The pause is only to check if the program reached it but is doesn't.
Prgm ExecAns
AsmPrgm
EFD74A
FE04C0
215500
22EC86227984
21F086
EB4E234623
ED43EE86
EDB0
3E05327884
EFF142
3803EFC64F
3E0521EC86
EF3C4C
C9