Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLACE Intelli-nonsense
Message
From
03/09/2010 20:00:31
 
 
To
01/09/2010 17:08:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01479503
Message ID:
01480098
Views:
61
>>>I only changed the "Expanded" field, from "Replicate" to "Replace". That was enough to make it work (for REPLACE; now REPLICATE no longer works). I didn't fool around with the other fields, although the tooltip will now probably show wrong information.
>>
>>Hilmar, whenever I need to change or set anything which is IntelliSense related, I go to its manager (Tools: IntelliSense Manager). In your case, I would advise you to open the Manager, click on Browse on the General page, locate the first REPL abbreviation, set it to REPLI and revert the Expanded text to Replicate (if everything is ok, the abbreviation for the REPLace command is located down the list but from now on it won't collide with Replicate any more).
>
>Oh, OK - I wasn't aware of such a manager. If it exists, using it certainly makes more sense than going directly to the table.

Looking at my _foxcode table which works, and doing

BROWSE LAST FOR Abbrev = "REPL"

the only difference I see is that REPLACE is a command and REPLICATE a function.

So the "type" is

F REPL REPLICATE
C REPL REPLACE

So to use it for intellisense expansion

type repl and then hit space gives me REPLACE
type repl( and then hit space gives me REPLICATE( with a tooltip for the parameters. These parameters come from the tips field in the intellisense table.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform