User Tools

Site Tools


gemus_script_reference:functions:edit_clp
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Last revision
gemus_script_reference:functions:edit_clp [2020/05/12 11:26] – created Jimbo
Line 1: Line 1:
 +Back to [[.:|Script Function Reference]]
  
 +====== Edit_CLP() ======
 +
 +The Edit_CLP() function displays the current emulator command line for the user to edit.
 +
 +===== Syntax =====
 +
 +<code>Edit_CLP(prompt)</code>
 +
 +===== Arguments =====
 +
 +^ Argument ^ Required ^ Description ^
 +| //prompt// | Yes | The prompt you want to display to the user. Any [[..:environment_variables|script environment variables]] found in //text// will be replaced by their actual values when the script is executed. |
 +\\ 
 +
 +===== Examples =====
 +
 +<code>
 +Edit_CLP(Edit the command line now if you're brave enough!)
 +
 +Edit_CLP(The memory to set for this game is %memory_value%)
 +</code>
 +
 +===== Remarks =====
 +
 +The best place to put this function is just before you call the [[.:run_emulator|Run_Emulator()]] or [[.:run_gamefile|Run_GameFile()]] functions.
 +
 +===== See Also =====
 +
 +  * [[.:add_clp|Add_CLP()]]
 +  * [[.:add_clp2|Add_CLP2()]]
 +  * [[.:clear_clp|Clear_CLP()]]
 +  * [[.:|Script Function Reference]]
gemus_script_reference/functions/edit_clp.txt · Last modified: 2023/10/04 14:15 by 127.0.0.1