Skip to content
Snippets Groups Projects
Commit 3c70c894 authored by rswindell's avatar rswindell
Browse files

Add STR @-code, to display the current Baja/PCMS command string value.

parent 650f66e5
No related branches found
No related tags found
No related merge requests found
......@@ -939,6 +939,10 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode)
return(nulstr);
}
if(strcmp(sp,"STR") == 0) {
return main_csi.str;
}
if(!strncmp(sp,"EXEC:",5)) {
exec_bin(sp+5,&main_csi);
return(nulstr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment