Errors, bugs, questions - page 3009

 
Error during execution:
#define  MACRO( X )    #X
void OnStart()
{
    Print(StringLen(MACRO( in god we trust )));
}

Result: 12

Expected: 16

 
Alexey Viktorov:
Somehow

Yes, miracles do happen.

 
Vladislav Andruschenko:


possibly a crooked history.

Delete the history

go to terminal folder

then as on the screenshot - name of your server - symbol - delete

and ticks:


Yes, it helped. Thank you!
 
Compilation error:
#define  MACRO \
int /*/
    *
  /*/ a = 5; //Error: 'a' - unexpected token, probably type is missing
 
I upload documents to verify the seller and a message comes up saying that they do not fit. Can I ask the reason? Why are they not suitable and what is wrong?
 
Francuz:

Error in description:

This field is called: time_type

Thank you, corrected it

 

I need to see the log file for the current day. The logs are almost a gigabyte long, it's not an option to view them with the built-in viewer.

Is there any way to get this log-file without shutting down the Terminal?

 
fxsaber:

Is there any way to get this log file without shutting down the Terminal?

Right-click - Open. When this command is called, the log is dumped to disk.

The file can be viewed by e.g. emeditorx64

 
fxsaber:

I need to see the log file for the current day. The logs are almost a gigabyte long, it's not an option to view them with the built-in viewer.

Is there any way to get this log-file without shutting down the Terminal?

From TotalCommander by pressing F3

 
Alexey Viktorov:

From TotalCommander by pressing F3

This is the only way to look at the logs, but they are empty for the current day until the terminal is closed.

Reason: