Also, ich wollte mal wissen, ob (und wenn ja wie?) man Dateien direkt öffnen kann, also wie ne Textdatei, die dann automatisch mit nem Texteditor geladen wird. Das Problem ist: Wie kriege ich deses verflixte argument raus?
Meine Suche in der Hilfe hat folgendes ergeben:
Also wenns überhaupt geht, hat ich mir gedacht mit den Funktionen hier... aber wie?
Habs auch schon mit sowas hier probiert:
Danke schonmal für eure Hilfe!
gruß, der kopierjunge :hau:
Meine Suche in der Hilfe hat folgendes ergeben:
In certain situations you might want to give players the possibility of providing command line arguments to the game they are running (for example to create cheats or special modes). To get these arguments you can use the following two routines.
parameter_count() Returns the number of command-line parameters (note that the name of the program itself is one of them.
parameter_string(n) Returns command-line parameters n. The first parameter has index 0. This is the name of the program.
You can read the value of environment variables using the following function:
environment_get_variable(name) Returns the value (a string) of the environment variable with the given name.
Also wenns überhaupt geht, hat ich mir gedacht mit den Funktionen hier... aber wie?
Habs auch schon mit sowas hier probiert:
Danke schonmal für eure Hilfe!
gruß, der kopierjunge :hau: