Hey
i want to say the contents of a variable. I've used an eval tag in the say command, but it just freezes. I've defined te var by using let x=0; . I've tried to convert it to a string, I've even tried the tease storage... This seems really simple so why doesn't it work? I'm not that familiar with jscript, learned a bit java at school, so maybe I've done a mistake correlated to that?
Thanks for your help
[EOS] Can't "say" a variable
-
- Explorer
- Posts: 11
- Joined: Wed Feb 13, 2019 9:26 am
- Gender: Female
- Sexual Orientation: Lesbian
- I am a: Switch
- Location: Europe
-
- Explorer
- Posts: 11
- Joined: Wed Feb 13, 2019 9:26 am
- Gender: Female
- Sexual Orientation: Lesbian
- I am a: Switch
- Location: Europe
Re: [EOS] Can't "say" a variable
I've found out, let is local and not global.... I need to use var to define the variable
Extra Modes for the classical search bar game:
10. Vibrator:
Put a vibrator in your pussy for the duration of the game.
11. Vibrator extended:
Put a vibrator in your pussy for the duration of the game.
For each link clicked wait 2 minutes before orgasm. Leave the vibrator on.
Please verify that your new goal is reachable from an one word tag
10. Vibrator:
Put a vibrator in your pussy for the duration of the game.
11. Vibrator extended:
Put a vibrator in your pussy for the duration of the game.
For each link clicked wait 2 minutes before orgasm. Leave the vibrator on.
Please verify that your new goal is reachable from an one word tag
-
- Explorer At Heart
- Posts: 261
- Joined: Tue May 21, 2019 2:27 am
- Gender: Male
- Sexual Orientation: Asexual
- I am a: Switch
Re: [EOS] Can't "say" a variable
I usually just use "x = 0" and don't bother with var or let or anything like that. Idk, maybe I'm doing it horribly wrong, but it works for me lol
-
- Explorer At Heart
- Posts: 265
- Joined: Thu Jan 03, 2013 4:55 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: [EOS] Can't "say" a variable
Also, if I remember correctly, EOS doesn't support the let keywordmatschbirne wrote: ↑Thu Jul 13, 2023 9:56 am I've found out, let is local and not global.... I need to use var to define the variable
-
- Explorer At Heart
- Posts: 559
- Joined: Sun Jul 06, 2014 2:11 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Slave
Re: [EOS] Can't "say" a variable
Javascript does not require you to initialize or declare variables. It has advantages to do that in the global script though. Declaring variables makes it clear, which variables exist, and initializing them ensures that they always have a valid value and avoids completely unexpected and hard to debug behavior. That's why in professional software development it is often a rule to do that.Roblsforbobls wrote: ↑Thu Jul 13, 2023 4:39 pm I usually just use "x = 0" and don't bother with var or let or anything like that. Idk, maybe I'm doing it horribly wrong, but it works for me lol
Some other points:
- EOS only supports an older version of Javascript as it does use an interpreter written in Javascript for security reasons. (Basically, authors should not be able to break out of EOS limited functionality and maybe even access other user data like the milovana password or interact with the site in different ways. So let is not supported, this should be, why it does not work.
- The difference between let is: var is scoped to the surrounding function, let is scoped to the block. If used top-leven in the global script, they should both declare global variables. So it would work, if it was supported.
Who is online
Users browsing this forum: No registered users and 7 guests