Generic-user-small Michael Bevi... 1 post

Hello,

Having some problems with rr in the erlang shell.

As the example on page 60 shows…

tyro$ cat records.hrl
-record(todo, {status=reminder, who=joe, text).

Eshell V5.5.5 (abort with ^G)
1> ls().
records.hrl
ok
2> rr(“records.hrl”).
[]
3> X=#todo{}.
  • 1: record todo undefined **
    4>

Help?

 
Generic-user-small Darcy Laycock 1 post

Looks like your missing a closing } on the record declaration.

2 posts, 2 voices