Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 09:55:43 +0000



Post From: using word 'short' not allowed as variable?

[2020-09-23 18:20:25]
User681150 - Posts: 62
i get an error when i use the word 'short' as a variable. i change it to 'shortt' and everything works. see error message below.

is this not allowed to use word short?

: error: expected unqualified-id before '=' token
176 | float short = (sgmidline[sc.Index] < sgmidline[sc.Index-1])

float short = (sgmidline[sc.Index] < sgmidline[sc.Index-1]) && sgmidline[sc.Index] > -60 ;