DanRRight
Joined: 10 Mar 2008 Posts: 2928 Location: South Pole, Antarctica
|
Posted: Mon Aug 11, 2025 3:56 am Post subject: Which way is preferable, apostroph or double quotation mark? |
|
|
The codes below both work OK but which way would be considered preferable? Which one is considered a major and which secondary? This one is right
Code: |
call winop@ ('%PL[axes_pen=2,frame, framed, frame_pen=2, width=2]')
i = winio@ ('%PV%PL[x_axis="Time", y_axis= "Energy", x_array, scale=linear]%ff&', 900, 600, N, X, Y) |
or this:
Code: |
call winop@ ("%PL[axes_pen=2,frame, framed, frame_pen=2, width=2]")
i = winio@ ("%PV%PL[x_axis='Time', y_axis= 'Energy', x_array, scale=linear]%ff&", 900, 600, N, X, Y) |
I think in the future even AI will be confused. It is better to define it than to have a total freedom/mess
Last edited by DanRRight on Mon Aug 11, 2025 8:18 am; edited 1 time in total |
|