Skip to content

Commit

Permalink
Changed all calling methods to Dot-Sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDevX authored Dec 1, 2018
1 parent c072df5 commit 1769311
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NanoQES.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $Lang = {
}
$About = {
Clear-Host
[string]$ver = "v2.0.0"
[string]$ver = "v2.0.1"
Write-Host "$l1"
Write-Host "$l2"
Write-Host "$l3"
Expand Down Expand Up @@ -182,7 +182,7 @@ $Advanced = {
Write-Host " X1 = (-b+√D)/2a = (-$alias_b + $dsqrt)/2·$alias_a = $mbpdsqrt/$alias_txa = $xfirst"
Write-Host "`n"
Write-Host " X2 = (-b-√D)/2a = (-$alias_b - $dsqrt)/2·$alias_a = $mbmdsqrt/$alias_txa = $xsecond"
&$Askadv
.$Askadv
}
if($d -eq 0){
Write-Host "`n"
Expand All @@ -193,14 +193,14 @@ $Advanced = {
Write-Host "$l21"
Write-Host "`n"
Write-Host " X = -(b/(2a)) = -($b/(2·$alias_a)) = -($b/$alias_txa) = $xfirst"
&$Askadv
.$Askadv
}
if($d -lt 0){
Write-Host "`n"
Write-Host " D = b²-4ac = $alias_b²-4·$alias_a·$alias_c = $bs-$alias_fxac = $d < 0"
Write-Host "`n"
Write-Host "$l22"
&$Askadv
.$Askadv
}
}
$Ask = {
Expand Down

0 comments on commit 1769311

Please sign in to comment.