flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > FASMW parameters |
Author |
|
Madis731 30 May 2011, 07:27
You can just use a static string for testing and if you think your code is ready, make a real test.
|
|||
30 May 2011, 07:27 |
|
Teehee 30 May 2011, 11:07
not only that, i need to send a file path by command line bc i need to parse it contents too
|
|||
30 May 2011, 11:07 |
|
Madis731 02 Jun 2011, 06:50
I've had the same problem before but I've always gotten around it somehow. I'm too lazy to make changes to FASMW - also I can use default FASMW at every spare computer
Lets try this: you want to pass a path "C:\Users\Me\Desktop\myfile.txt" and read its contents. You can still assemble this path into your executable. You're emulating the drag&drop operation. You can still read the contents of the file when you know where it is. Am I missing something? |
|||
02 Jun 2011, 06:50 |
|
cod3b453 02 Jun 2011, 20:33
If you're not familiar with cmd, you can write your command line in a batch (.bat)/command (.cmd) file and use it to execute your application with parameters.
|
|||
02 Jun 2011, 20:33 |
|
Enko 02 Jun 2011, 21:45
its a comand line string parser, but it is still a string parser.
param1 db "param 1 string",0 param2 db "param 2 string", etc.... when you already have the parser, and need some testing, use what codb3d453 sugested a .bat file placed in the executable folder. |
|||
02 Jun 2011, 21:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.