Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to write higher-order proc?
How to write higher-order proc? [message #1795102] Fri, 14 September 2018 10:27
Eclipse UserFriend
Is it possible to create a proc that takes a block of code as an argument, and then executes that block of code?

Something like this:

proc "higher-order-proc" [val arg] {
	emit "Test?" | $arg
}

higher-order-proc -arg { show-alert }


The intention here is that the code should show the alert box with the text "Test?", but that doesn't happen.

Is there any way to do this?

[Updated on: Sat, 15 September 2018 06:15] by Moderator

Previous Topic:AuT crash with "Connection is not Available" at "Accept License" dialog
Next Topic:Verification of Browser DOM
Goto Forum:
  


Current Time: Thu Apr 24 17:24:26 EDT 2025

Powered by FUDForum. Page generated in 0.03525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top