Search found 2 matches

by Josh|Dyalog
Mon Jun 24, 2024 2:58 am
Forum: Language
Topic: :Hold
Replies: 5
Views: 17066

Re: :Hold

I'm also curious if it is possible to implement a fair mutex in APL on top of :Hold or ⎕TGET.... I assume it is. I played around with this and it is simple enough to come up with your own fair mutex in APL using ⎕TGET. The key is, instead of waiting on an actual ⎕TGET, we have a cover function TGET ...
by Josh|Dyalog
Wed Jul 20, 2022 2:08 am
Forum: Object Oriented Programming
Topic: Assign a variable over multiple lines in Class editor
Replies: 6
Views: 102083

Re: Assign a variable over multiple lines in Class editor

A simpler approach worth mentioning is to use the traditional ,← idiom: msg ← 'Document name saved.' msg,← 'Test message.' msg Document name saved.Test message. ⍴msg 33 msg ←⊂'Document name saved.' msg,←⊂'Test message.' msg ┌────────────────────┬─────────────┐ │Document name saved.│Test message.│ └── ...