How to pass the argument through commandline?
Kindly follow the below given steps to pass argument through commandline: 1.Create a new folder 2.Copy and paste the GoDBConsole.exe file in the new folder. 3.Open sample application and use the same code which you have mentioned above. 4.Compile and run the application in the console platform. 5.Copy and paste the sample.bdb in the new folder already created. 6.Goto the command prompt 7.Change directory to the new folder and then run the following command. godbconsole.exe sample.bdb “Arguments” 8.Then it prints the above command with arguments in the next line. 9.Getosvar(“*CMDLINE”) function returns the command Line Parameters passed to the GoDB VM.