The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Store operator (▶)
07-24-2022, 10:52 PM
Post: #1
Store operator (▶)
I am struggling to understand the use of the Store operator (▶) as described in the User Guide, 3rd Ed. p613-614:

"Here we use the Store operator (▶) in place of :=. Press <Shift> <EEX/Sto (▶)> to retrieve this operator. The syntax is Var ▶ Value; that is, the value on the right is stored in the variable on the left."

Surely this is the wrong way around. The value comes first, on the left and is stored in the variable on the right? Or is my understanding wrong? As I read the code examples that follow, the result of some operation which comes first, on the left is stored into a variable named next, on the right.

Maybe I shouldn't worry about it but this sort of thing troubles me. Sorry if it is a foolish error on my part.

Thanks for reading.

Stephen.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Store operator (▶) - 8031Brown - 07-24-2022 10:52 PM
RE: Store operator (▶) - RPNerd - 07-25-2022, 02:28 PM
RE: Store operator (▶) - Albert Chan - 07-25-2022, 04:55 PM
RE: Store operator (▶) - 8031Brown - 07-27-2022, 11:48 AM



User(s) browsing this thread: 2 Guest(s)