Massimo Belgrano wrote:
> 
> the script that you have suggested  is follow:
>  |cTopic|
>  IF( Empty( cTopic := ::GetText() ), cTopic := ::GetWord(.F.) ),
> ::exeTool( "hh.exe", "C:\xHB\Doc\xHarbour Language Reference
> Guide.chm" + "::" + cTopic )
> 

This is the exact way ( you missed some characters )


|cTopic| 
cTopic := ::GetText(), 
iif( empty( cTopic ), cTopic := ::GetWord(.F.), NIL),
iif( empty( cTopic ), cTopic := "", NIL), 
::execTool( "hh.exe", 
"C:\xHB\Doc\xHarbour Language Reference Guide.chm" + 
":" + ":" + cTopic )


The above is tested one as is and working.

-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14294-trunk-harbour-tp4874664p4938953.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to