postIn related errors in the post window


#1

Hello very basic problems here but I’m trying out a beginner tutorial and using a postIn

100.do({"print me over and over".scramble.postIn});

Whatever I do with postIn it throws weird messages at me - is it a depleted class or something? any help appreciated
I get the following in the post window on running the above:

ERROR: Message 'postIn' not understood.

RECEIVER:
Instance of String { (0x11361c238, gc=3C, fmt=07, flg=00, set=02)
indexed slots [22]
0 :
1 : r
2 : v
3 :
4 : p
5 : t
6 : n
7 : i
8 : v
9 : e
10 : o
11 :
12 : r
13 : e
14 : e
15 :
16 : m
17 : d
18 : n
19 : a
20 : r
21 : o
}
ARGS:
CALL STACK:
DoesNotUnderstandError:reportError 0x1107a9c68
arg this =
Nil:handleError 0x11069da78
arg this = nil
arg error =
Thread:handleError 0x11110b2c8
arg this =
arg error =
Object:throw 0x1106f07b8
arg this =
Object:doesNotUnderstand 0x110e4eba8
arg this = " rv ptniveo ree mdnaro"
arg selector = ‘postIn’
arg args = [*0]
Integer:do 0x110dd43c8
arg this = 100
arg function =
var i = 0
Interpreter:interpretPrintCmdLine 0x110e5bdb8
arg this =
var res = nil
var func =
var code = "100.do({“print me over and o…”
var doc = nil
var ideClass =
Process:interpretPrintCmdLine 0x110fa6778
arg this =
^^ The preceding error dump is for ERROR: Message ‘postIn’ not understood.
RECEIVER: rv ptniveo ree mdnaro


#2

postln has an L in it. :slight_smile:


#3

:exploding_head: I assumed it was ‘post in’ but it’s post line I guess :crazy_face:

many thanks