Re: How to put comment on HPUserEdit
- From: "John H Meyers" <jhmeyers@xxxxxxxxxxxxxx>
- Date: Sun, 27 May 2007 09:01:28 -0500
On Sat, 26 May 2007 21:14:30 -0500:
I just want to comment my code in HPUserEdit;
what is the string i must put to recognize as a comment.
Anything preceded by "@"
(or between two consecutive "@" on the same line)
is ignored by the on-board compiler,
and thus is a "comment."
"@" within a quoted string is part of the string,
however, and is retained.
You can thus sprinkle comments throughout "source" files
on your computer, which you can transfer to your calc,
but when you display transferred programs on your calc,
all comments will have disappeared (and the program
will have been reformatted), because the program
becomes a pure binary internal file (without comments)
when compiled, just as when typed into the on-board editor,
and any subsequent display is later generated
by de-compiling that binary to re-create brand new readable text,
which isn't the original source text,
so there is no point trying to type comments
on the calculator itself, unless you are editing
only a string, then using STR\-> on that string
to compile the program as a new object.
[r->] [OFF]
.
- Follow-Ups:
- Re: How to put comment on HPUserEdit
- From: WildcatQuebec
- Re: How to put comment on HPUserEdit
- References:
- How to put comment on HPUserEdit
- From: WildcatQuebec
- How to put comment on HPUserEdit
- Prev by Date: Re: How to put comment on HPUserEdit
- Next by Date: Ascii Import/Export for SD card and Emulator
- Previous by thread: Re: How to put comment on HPUserEdit
- Next by thread: Re: How to put comment on HPUserEdit
- Index(es):
Relevant Pages
|