min TEST 1 aurel Junior Member Posts: 19 Threads: 2 Joined: Feb 2024 Reputation: 0 02-16-2024, 02:13 PM (This post was last modified: 02-16-2024, 02:19 PM by aurel.) min TEST 1 src loaded be  careful ,this is trick question ! what is this ?     johnno56 Senior Member Posts: 250 Threads: 27 Joined: Nov 2023 Reputation: 3 02-16-2024, 09:33 PM Ooo... I like trick questions! Most of the time I cannot figure them out, but I still like them... Attempt #1: what is this ? <- a question mark... (did I get it right?) Logic is the beginning of wisdom. Tomaaz Member Posts: 51 Threads: 7 Joined: Feb 2024 Reputation: 0 02-16-2024, 09:56 PM (02-16-2024, 02:13 PM)aurel Wrote: what is this ? A blurry screenshot? 1micha.elok Member Posts: 157 Threads: 17 Joined: Nov 2023 Reputation: 0 02-16-2024, 10:57 PM (02-16-2024, 02:13 PM)aurel Wrote: min TEST 1 src loaded be  careful ,this is trick question ! what is this ? Are you " the Aurel " who created " Aurel Basic " and " Micro(A) Programming " ? Marcus Administrator Posts: 266 Threads: 34 Joined: Nov 2023 Reputation: 3 02-17-2024, 07:02 AM (This post was last modified: 02-17-2024, 07:03 AM by Marcus.) I tried writing the code in n7: Code:```function demo()     a = "math expressions "     b = (10 + 1*2 + (4 + 5)*2)*3 - int("111")     pln "Test " + a + b     if 0*|5 > -2|*0 write "True"     else write "False"     x = 0     while x < 20         if not x < 10 break         write "."         x = x + 1     wend endfunc pln "Hello World!" demo() pln system "pause"``` But I'm not sure if a || is the same thing as 'abs' in the language you're using or if there is implicit multiplication where you write "0|5 >= -2|0". Anyhow, I get the output: Hello World! Test math expressions -21 False.......... But since it's a trick question I assume that's not the answer aurel Junior Member Posts: 19 Threads: 2 Joined: Feb 2024 Reputation: 0 02-17-2024, 07:46 AM yes @marcus @elok yes i am aurel Junior Member Posts: 19 Threads: 2 Joined: Feb 2024 Reputation: 0 02-18-2024, 11:46 AM (This post was last modified: 02-18-2024, 11:53 AM by aurel.) what is this : if ident in variable and variable[ident][0] == 's': s = variable[ident][1] do i understand this or i am totally wrong 1. ident is string ? but how can be index if is index? 2. variable is string array ? OR is List ? 3.index base is 0 ..right ? OMG freak-show  1micha.elok Member Posts: 157 Threads: 17 Joined: Nov 2023 Reputation: 0 02-18-2024, 11:58 AM (02-18-2024, 11:46 AM)aurel Wrote: what is this : if ident in variable and variable[ident][0] == 's': s = variable[ident][1] do i understand this or i am totally wrong 1. ident is string ? but how can be index if is index? 2. variable is string array ? OR is List ? 3.index base is 0 ..right ? OMG freak-show  I'm glad Naalaa doesn't have that kind of "ident"  aurel Junior Member Posts: 19 Threads: 2 Joined: Feb 2024 Reputation: 0 02-18-2024, 06:22 PM yes Elok...i agree but i made mistake 1. ident is string ? but how can be string if is index? strange problem with python like interpreter.. arghhh ...it looks that i must use some sort of pointer to translate this one .. « Next Oldest | Next Newest »