Search found 148 matches

by clum09
Fri Jan 25, 2019 10:18 am
Forum: PrimalScript
Topic: Package Error, Type to type and IPAddress
Replies: 5
Views: 634

Re: Package Error, Type to type and IPAddress

Alexander, You said that type "is in the list of reversed words and is therefore correctly case corrected to the indicated case used in the documentation." However, the reserved words SHOULD NOT start with a lower case - it should starts with an upper case unless it a Unix based type script. In Powe...
by clum09
Tue Jan 15, 2019 10:16 am
Forum: PrimalScript
Topic: Package Error, Type to type and IPAddress
Replies: 5
Views: 634

Package Error, Type to type and IPAddress

Product, version and build: 7.4.121 32 or 64 bit version of product: 64-bit Operating system: Windows 10 32 or 64 bit OS: 64-bit PrimalScript 2019 with release 7.4.121 periodically generates the error below during packaging the script. I did not package the script as an MSI package - I just package ...
by clum09
Wed Dec 05, 2018 2:26 pm
Forum: PrimalScript
Topic: Primal sense recognizes 'Type' and 'IPAddress' keywords
Replies: 4
Views: 755

Re: Primal sense recognizes 'Type' and 'IPAddress' keywords

IPAddress by itself should not be considered as a class. It should be a string unless it is used as PowerShell Type Accelerators which is enclosed with brackets like [IPAddress]. See the code snippet image I took from PowerShel Studio. In PowerShell Studio, IPAddress is treated as a string and the w...
by clum09
Wed Dec 05, 2018 12:26 pm
Forum: PrimalScript
Topic: Primal sense recognizes 'Type' and 'IPAddress' keywords
Replies: 4
Views: 755

Re: Primal sense recognizes 'Type' and 'IPAddress' keywords

Have you tried to click on "Type' or highlight the word 'Type' with your mouse?

The moment you highlight the word 'Type' or click on it a few times with your mouse, it will turn into 'type'.
by clum09
Wed Dec 05, 2018 9:52 am
Forum: PrimalScript
Topic: Primal sense recognizes 'Type' and 'IPAddress' keywords
Replies: 4
Views: 755

Primal sense recognizes 'Type' and 'IPAddress' keywords

Product, version and build: 7.4.119 32 or 64 bit version of product: 64 bit Operating system: Windows 10 32 or 64 bit OS: 64 bit Primal Sense recognizes words "Type" and IPAddress as key words in PowerShell Editor. PrimalScript changes the word 'Type' to have a lower case T as 'type' instead of leav...
by clum09
Fri Sep 28, 2018 9:58 am
Forum: PrimalScript
Topic: Strongly typed parameter crashes Primalscript
Replies: 5
Views: 1028

Re: Strongly typed parameter crashes Primalscript

What you are saying is the crash was caused by the way how code is instructed within scripts which is not correct. The scripts does not crash when I edit them using PowerShell ISE and they runs just fine during test when I run them in the PowerShell console. Or are you saying there are only certain ...
by clum09
Thu Sep 27, 2018 6:23 am
Forum: PrimalScript
Topic: Strongly typed parameter crashes Primalscript
Replies: 5
Views: 1028

Re: Strongly typed parameter crashes Primalscript

This behavior of crashing has been happening for the last several service builds, and it has never been corrected. With a simple function as I posted may not cause PrimalScript to crash. The crash seems to happen randomly and mostly on large scripts with 10 thousand plus lines with multiple function...
by clum09
Wed Sep 26, 2018 1:40 pm
Forum: PrimalScript
Topic: Strongly typed parameter crashes Primalscript
Replies: 5
Views: 1028

Strongly typed parameter crashes Primalscript

Product, version and build: 7.4.117 32 or 64 bit version of product: 64 bit Operating system: Windows 10 32 or 64 bit OS: 64 bit PrimalScript keeps crashing when I add or edit a strongly typed parameter within a function of a very large script. Consider the function below whose parameters I am editi...
by clum09
Wed Sep 05, 2018 8:55 am
Forum: PrimalScript
Topic: Autocase and color function names
Replies: 8
Views: 1464

Re: Autocase and color function names

One thing I have found that can quickly trigger the PrimalScript Editor to lose autocase and color during editing my script is when I am editing the parameters of a function similar to the one below. function Get-Something { param ([Parameter(Mandatory=$true, ValueFromPipeline=$true)] [string] $para...
by clum09
Thu Aug 30, 2018 6:59 am
Forum: PrimalScript
Topic: Autocase and color function names
Replies: 8
Views: 1464

Re: Autocase and color function names

It has nothing to do with the theme issue. PrimalScript has just become very unstable since the last several releases - up to point where it is not usable. Even if I work on one single script for a long period of time, the autocase and coloring problem starts to happen, and all the sudden the progra...