What is the proper way to pull the time into a baja file, then print it to the screen. I thought I had it, but when I compile, it always says missing string, or define a string. One day, I will understand this:( Thanks
args: dest time
*----------------------------
Writes to the string variable (specified as dest) the time and date stored in the integer variable specified by time. This function is the Baja equivalent to the standard C ctime() function. Example:
# Display current time
INT T
TIME T
TIME_STR STR T
PRINTF "Current time: %s\r\n" STR
Thanks. I read the baja docs, but just didn't undersand the string it was asking for. At least I'm trying. Thanks for putting up with me:)
there's also more than one way to do things. and different styles of doing each thing.
What is the proper way to pull the time into a baja file, then print it to the screen. I thought I had it, but when I compile, it always says missing string, or define a string. One day, I will understand this:( Thanks
As I look at everyones code, I am quickly learning that. My big question is, is baja still going to be supported in future releases of Sync. The
reason I'm asking this is, I'm spending a godly amount of time learning this code, but would I be better off since I don't code, to learn js instead, and just let baja alone. Thanks Bud for all of your help.
The proper way to use Baja is to use Javascript instead.
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
If you'll be satisfied with the ability to create simple modules for your BBS, Baja is fine. If you think you'll ever want to branch out and make more complicated mods, or like the idea of gaining some knowledge that's useful outside of the BBS sphere, Javascript is the way to go.
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 21:52:39 |
Calls: | 15,171 |
Calls today: | 4 |
Files: | 19,858 |
D/L today: |
106 files (8,421K bytes) |
Messages: | 1,692,258 |