Vorbereitung für GetOspTestValues für xmo
git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@167 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69
This commit is contained in:
parent
7679b05988
commit
ff4c5292a5
@ -204,7 +204,7 @@ endfunction
|
|||||||
|
|
||||||
function s:GetPolynom(umrechnung)
|
function s:GetPolynom(umrechnung)
|
||||||
let umr = {}
|
let umr = {}
|
||||||
let p = [0]
|
let p = [0] " dummy
|
||||||
let OspLine = s:GetOspLine(a:umrechnung)
|
let OspLine = s:GetOspLine(a:umrechnung)
|
||||||
if match(OspLine, 'Poly') >= 0
|
if match(OspLine, 'Poly') >= 0
|
||||||
let p += [s:GetOspPoly('1', OspLine)]
|
let p += [s:GetOspPoly('1', OspLine)]
|
||||||
@ -305,13 +305,10 @@ function s:GetKgsTestWertp()
|
|||||||
let umrechnung = @0
|
let umrechnung = @0
|
||||||
echo 'umrechnung:' umrechnung
|
echo 'umrechnung:' umrechnung
|
||||||
let OspLine = s:GetOspLine(umrechnung)
|
let OspLine = s:GetOspLine(umrechnung)
|
||||||
call cursor(startLineNr, 0)
|
let umr = s:GetPolynom(umrechnung)
|
||||||
if match(OspLine, 'Poly') >= 0
|
if umr != {}
|
||||||
let p1Val = s:GetOspPoly('1', OspLine)
|
let Mas = umr['Mas']
|
||||||
let p2Val = s:GetOspPoly('2', OspLine)
|
let p = umr['p']
|
||||||
let p3Val = s:GetOspPoly('3', OspLine)
|
|
||||||
let p4Val = s:GetOspPoly('4', OspLine)
|
|
||||||
let p5Val = s:GetOspPoly('5', OspLine)
|
|
||||||
" test_wert lesen
|
" test_wert lesen
|
||||||
call cursor(startLineNr, 0)
|
call cursor(startLineNr, 0)
|
||||||
call search('test_wert', 'W')
|
call search('test_wert', 'W')
|
||||||
@ -320,9 +317,7 @@ function s:GetKgsTestWertp()
|
|||||||
execute 'normal yiw'
|
execute 'normal yiw'
|
||||||
let test_wert = @0
|
let test_wert = @0
|
||||||
" Poynom
|
" Poynom
|
||||||
echo 'P1:' p1Val 'P2:' p2Val 'P3:' p3Val 'P4:' p4Val 'P5:' p5Val
|
let phys = s:GetOspPolyPhysValue(test_wert, p)
|
||||||
let phys = s:GetOspPolyPhysValue(
|
|
||||||
\test_wert, p)
|
|
||||||
echo 'test_wert:' test_wert 'umrechnung:' umrechnung 'Phys:' phys
|
echo 'test_wert:' test_wert 'umrechnung:' umrechnung 'Phys:' phys
|
||||||
endif
|
endif
|
||||||
endwhile
|
endwhile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user