pineapple-notepad/3rdparty/lexilla532/lexilla/test/examples/matlab/Issue18_EscapeSequence.m.octave

15 lines
249 B
Plaintext
Raw Normal View History

2024-07-02 23:47:26 +08:00
% Ensure escape sequences still work in octave
% Octave terminates string at 3rd ", Matlab at 4th
i="\" "; % " %
% Octave allows string continuation with an escape
b = "multi\
line"
% No escape so string ends at line end
c = "multi
line"
% end