File: loadall.g

package info (click to toggle)
gap-utils 0.93-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,504 kB
  • sloc: xml: 2,167; javascript: 155; makefile: 105
file content (23 lines) | stat: -rwxr-xr-x 670 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##############################################################################
##
#W  loadall.g                   Utils Package                    Chris Wensley
##
#Y  Copyright (C) 2015-2016, The GAP Group 
##  

##  first make sure that, if the transferred code has not been read, 
##  then the appropriate packages are loaded. 

if not UtilsLoadingComplete then 
    len := Length( UtilsPackageVersions ); 
    j := 0; 
    while ( j < len ) do 
        j := j+1; 
        name := UtilsPackageVersions[j]; 
        if not OKtoReadFromUtils( name ) then 
            LoadPackage( name ); 
        fi; 
        j := j+1;
    od; 
    UtilsLoadingComplete := true; 
fi;