Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to read the command line on windows?
Feedback.

Answer: Try this code:
Example:
#if targetwin32 then
dim line as string
Dim mem as MemoryBlock

Declare Function GetCommandLineA Lib "kernel32" () As Ptr

mem=GetCommandLineA()
s=mem.cstring(0)

#endif

Notes: Newer Realbasic versions have a system.commandline property.



Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich