Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Obscure - The brand-new, Turing-Complete, easy to use programming language
- 100blacktak
-
Scratcher
100 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
How do you upload images?
- 100blacktak
-
Scratcher
100 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I think you shouldn't make a language instead make something like HTML
Button maker?
Button maker?
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
list them hereWait, I thought it was that you would say to participate and then later post the code? Also to write it, I need to be able to add things to arrays.Actually, i need more then I thought thinking about it…
i added: unshift & push
syntax:
unshift arrayname value
same for push
currently working on a reverse function
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
How do you upload images?There is currently no way to create visual projects on Obscure
I think you shouldn't make a language instead make something like HTMLwhat?
Button maker?
- mybearworld
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can you edit arrays at all after creating them?
Edit: Never mind, didn't see the new page and was on an outdated documentation page
Edit: Never mind, didn't see the new page and was on an outdated documentation page

Last edited by mybearworld (Sept. 3, 2024 15:17:23)
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
would be really cool to see someone make a quine
also im planning to add a delay function for a clock project or something
also im planning to add a delay function for a clock project or something
- 100blacktak
-
Scratcher
100 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
It says error for your sample projectslist them hereWait, I thought it was that you would say to participate and then later post the code? Also to write it, I need to be able to add things to arrays.Actually, i need more then I thought thinking about it…
i added: unshift & push
syntax:
unshift arrayname value
same for push
currently working on a reverse function
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
what errorIt says error for your sample projectslist them hereWait, I thought it was that you would say to participate and then later post the code? Also to write it, I need to be able to add things to arrays.Actually, i need more then I thought thinking about it…
i added: unshift & push
syntax:
unshift arrayname value
same for push
currently working on a reverse function
- ThisIsTemp1
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
This may be a stupid question but does
exist. It's for something I need in the contest.
if <> then
else
end
exist. It's for something I need in the contest.
- ominouswolf
-
Scratcher
65 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can there be a
(join [] [world]), a
(letter () of [world]), and a
(length of [])please?
- ThisIsTemp1
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can you help me with this code
Says interpret is not defined as error message
array 5.04 4.99 5.97 5.32 4.62 5.34 6.12 as Dem
random 0 to 10 as PV
if PV > {Dem:1}
subtract PV-{Dem:1} as Trump_win
out Trump won Arizona by Trump_win
else
subtract {Dem:1}-PV as Harris_win
out Harris won Arizona by Harris_win
Says interpret is not defined as error message
- mybearworld
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
the sample projects have been updated, but the old versions are already saved in local storage(#108)You're using “set as” in the sample projects still
what error
edit: so basically just replace the incorrect syntax or simply clear your cookies to get the new ones (tho any other projects will be removed)
Last edited by i_eat_coffee (Sept. 3, 2024 15:38:28)
- 100blacktak
-
Scratcher
100 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I know this is not a Visual Programming Language, however, on none visual programming languages, you can upload the images by adding the link in a certain way to upload the images
Here's one of my issues: Sample Project 2
Project code:
set bottles as 99
while {bottles} > 0
out {bottles} bottles of beer on the wall, {bottles} bottles of beer.
subtract {bottles} 1 as bottles
out Take one down and pass it around, {bottles} bottles of beer on the wall.
end
out No more bottles of beer on the wall, no more bottles of beer.
out Go to the store and buy some more, 99 bottles of beer on the wall.
What happens when I run it:
Error: Invalid variable assignment: set bottles as 99
Here's one of my issues: Sample Project 2
Project code:
set bottles as 99
while {bottles} > 0
out {bottles} bottles of beer on the wall, {bottles} bottles of beer.
subtract {bottles} 1 as bottles
out Take one down and pass it around, {bottles} bottles of beer on the wall.
end
out No more bottles of beer on the wall, no more bottles of beer.
out Go to the store and buy some more, 99 bottles of beer on the wall.
What happens when I run it:
Error: Invalid variable assignment: set bottles as 99
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
I know this is not a Visual Programming Language, however, on none visual programming languages, you can upload the images by adding the link in a certain way to upload the imagesclear your cookies
Here's one of my issues: Sample Project 2
Project code:
set bottles as 99
while {bottles} > 0
out {bottles} bottles of beer on the wall, {bottles} bottles of beer.
subtract {bottles} 1 as bottles
out Take one down and pass it around, {bottles} bottles of beer on the wall.
end
out No more bottles of beer on the wall, no more bottles of beer.
out Go to the store and buy some more, 99 bottles of beer on the wall.
What happens when I run it:
Error: Invalid variable assignment: set bottles as 99
Can you help me with this codeWorks for me, try reloading, but you also used the wrong syntax here:array 5.04 4.99 5.97 5.32 4.62 5.34 6.12 as Dem
random 0 to 10 as PV
if PV > {Dem:1}
subtract PV-{Dem:1} as Trump_win
out Trump won Arizona by Trump_win
else
subtract {Dem:1}-PV as Harris_win
out Harris won Arizona by Harris_win
Says interpret is not defined as error message
Error: Invalid random statement: random 0 to 10 as PV
should be:
random 0 10 as PV
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
This may be a stupid question but doesif <> then
else
end
exist. It's for something I need in the contest.
Can there be ayeah, in like 5 minute i'll add letter x of y and length of,(join [] [world]), a(letter () of [world]), and a(length of [])please?
but you can join two variables by just doing
set joined to {var1}{var2}
if-else will tkae a bit longer, but you can just do
if 0 = 1
out hi
end
if 0 != 1
out hey
end
- 100blacktak
-
Scratcher
100 posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can you please make a Youtube tutorial. Thank you, some of the documentation is confusing, (it'd) help a lot
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
set greeting to Hello, world!
out {greeting}
out {letter 2:greeting}
out {length:greeting}
- i_eat_coffee
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
Can you please make a Youtube tutorial. Thank you, some of the documentation is confusing, (it'd) help a lotonce the contest ends, sure
- ThisIsTemp1
-
Scratcher
1000+ posts
Obscure - The brand-new, Turing-Complete, easy to use programming language
How do you make floats?
Also this code still isn't working….
Also this code still isn't working….
array 5.04 4.99 5.97 5.32 4.62 5.34 6.12 as Dem
random 0 10 as PV
if PV > {Dem:1}
subtract PV {Dem:1} as Trump_win
out Trump won Arizona by {Trump_win}
end
if PV < {Dem:1}
subtract {Dem:1} PV as Harris_win
out Harris won Arizona by {Harris_win}
end




